home *** CD-ROM | disk | FTP | other *** search
/ The AGA Experience 3 / AGA Experience Volume 3 (1997)(NFA - SAdENESS)[!].iso / software / utilities / graphics / raylab / source / platform / generic / makefile < prev    next >
Encoding:
Makefile  |  1996-09-05  |  1.5 KB  |  66 lines

  1. #
  2. # Makefile for RayLab v1.1
  3. # ------------------------
  4. #
  5. # This file is part of the RayLab 1.1 distribution, and it is released
  6. # to the public domain.
  7. #
  8. # This makefile was made for gcc/cc for generic systems.
  9. #
  10. # How to compile:
  11. #
  12. #   Type 'make raylab' or just 'make' from shell.
  13. #
  14.  
  15. CFLAGS    = -O3 -c -finline-functions -ffast-math -fno-unroll-loops \
  16.             -fno-unroll-all-loops -fomit-frame-pointer -freg-struct-return
  17. LFLAGS    = -s -o raylab -O
  18. CC        = gcc
  19. OBJ       = o
  20.  
  21. .c.o:
  22.     $(CC) $(CFLAGS) $*.c
  23.  
  24.  
  25. OBJS   = raylab.$(OBJ) trace.$(OBJ) camera.$(OBJ) intersct.$(OBJ) \
  26.          algebra.$(OBJ) getworld.$(OBJ) pic.$(OBJ) iff.$(OBJ) tga.$(OBJ) \
  27.          ppm.$(OBJ) texture.$(OBJ) objects.$(OBJ) preproc.$(OBJ) \
  28.          getinput.$(OBJ) platform.$(OBJ) display.$(OBJ)
  29.  
  30. raylab: $(OBJS)
  31.     $(CC) $(LFLAGS) $(OBJS) -lm
  32.  
  33.  
  34. raylab.$(OBJ): raylab.c defs.h typedef.h
  35.  
  36. trace.$(OBJ): trace.c defs.h typedef.h
  37.  
  38. camera.$(OBJ): camera.c defs.h typedef.h
  39.  
  40. intersct.$(OBJ): intersct.c defs.h typedef.h
  41.  
  42. algebra.$(OBJ): algebra.c defs.h typedef.h
  43.  
  44. getworld.$(OBJ): getworld.c defs.h typedef.h
  45.  
  46. pic.$(OBJ): pic.c defs.h typedef.h
  47.  
  48. iff.$(OBJ): iff.c defs.h typedef.h
  49.  
  50. tga.$(OBJ): tga.c defs.h typedef.h
  51.  
  52. ppm.$(OBJ): ppm.c defs.h typedef.h
  53.  
  54. texture.$(OBJ): texture.c defs.h typedef.h
  55.  
  56. objects.$(OBJ): objects.c defs.h typedef.h
  57.  
  58. preproc.$(OBJ): preproc.c defs.h typedef.h
  59.  
  60. getinput.$(OBJ): getinput.c defs.h typedef.h
  61.  
  62. platform.$(OBJ): platform.c defs.h typedef.h
  63.  
  64. display.$(OBJ): display.c defs.h typedef.h
  65.  
  66.